NuclearEngagement\Core\UnifiedErrorHandler A

Total Complexity 61
Dependencies 5
Dependents 2
Total lines 479
Lines of code 268
Logical lines of code 122
Comment lines 106
Methods 25
Properties 2

Methods 25

Method Rating Maintainability Complexity Lines of code
categorize_error_message()
A
54 11 19
map_php_error_severity()
A
57 10 18
handle_error()
S
56 4 18
log_error()
S
56 3 18
handle_fatal_error()
S
61 3 11
handle_wp_die()
S
59 2 16
attempt_recovery()
S
65 3 10
map_exception_severity()
S
67 3 9
track_error()
S
61 2 12
sanitize_context()
S
65 2 11
create_error_data()
S
54 1 22
get_instance()
S
71 2 6
is_rate_limited()
S
62 2 10
get_error_type_name()
S
58 1 15
attempt_resource_recovery()
S
70 2 7
handle_php_error()
S
62 1 11
handle_exception()
S
62 1 11
handle_security_event()
S
63 1 11
__construct()
S
82 1 3
init_error_handlers()
S
70 1 6
sanitize_error_message()
S
65 1 9
sanitize_stack_trace()
S
75 1 4
log_critical_error()
S
74 1 4
attempt_database_recovery()
S
77 1 4
get_error_stats()
S
82 1 3